common/gnttab: simplify gnttab_copy_lock_domain()
authorAndrew Cooper <andrew.cooper3@citrix.com>
Tue, 20 Jun 2017 09:40:56 +0000 (10:40 +0100)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Tue, 15 Aug 2017 14:08:58 +0000 (15:08 +0100)
commitb66e8d119cb8d8558e1ac8c61e3e2c503038cc80
tree577bf687993438a208dfdf754849050b81b4c32d
parentf0cd93c2a85562b66e86c78c49335c14613c9e76
common/gnttab: simplify gnttab_copy_lock_domain()

Remove the opencoded rcu_lock_domain_by_any_id().  Drop the PIN_FAIL()s and
return GNTST_* values directly.

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Reviewed-by: Jan Beulich <jbeulich@suse.com>
xen/common/grant_table.c